Skip to content

fix: getSecurityHeaderType#179

Merged
ianchen0119 merged 5 commits into
free5gc:mainfrom
reki9185:fix/getSecurityHeaderType
Sep 16, 2025
Merged

fix: getSecurityHeaderType#179
ianchen0119 merged 5 commits into
free5gc:mainfrom
reki9185:fix/getSecurityHeaderType

Conversation

@reki9185

@reki9185 reki9185 commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

This PR is for #713.

Comment thread internal/nas/nas_security/security.go Outdated
Comment thread internal/nas/nas_security/security.go
Comment thread internal/nas/nas_security/security.go Outdated

msg = new(nas.Message)
msg.ProtocolDiscriminator = payload[0]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the unnecessary newline.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve

@ianchen0119 ianchen0119 merged commit 4b52f2a into free5gc:main Sep 16, 2025
3 checks passed
@reki9185 reki9185 deleted the fix/getSecurityHeaderType branch January 22, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bugs]AMF panic in nas.GetSecurityHeaderType due to index out of range on malformed NAS PDU

4 participants